﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.IService;
using System.Data;
using DataAccess.Service;
using Business.IManager;
using Entity;

namespace Business.Manager
{
    public class AccommodationManager:IAccommodationManager
    {
        IAccommodationService accommodationService = new AccommodationService();
        public DataTable getDormitoryNum(String dormitoryAddress, String buildNum)
        {
            return accommodationService.selectDormitoryNum(dormitoryAddress, buildNum);
        }
        public String selectDormitoryId(string stuId)
        {
            return accommodationService.selectDormitoryId(stuId);
        }
        public Dormitory selectDormitoryInfor(String dormitoryId)
        {
            return accommodationService.selectDormitoryInfor(dormitoryId);
        }
    }
}
